//
//  YKViewController.h
//  OCUnitPlus
//
//  Created by William Zhao on 13-7-29.
//  Copyright (c) 2013年 William Zhao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YKViewController : UIViewController {
    
}

@property (nonatomic, retain) IBOutlet UITextField* priceTextField;
@property (nonatomic, retain) IBOutlet UITextField* feeTextField;
@property (nonatomic, retain) IBOutlet UILabel* amountLabel;
@property (nonatomic, retain) IBOutlet UILabel* payLabel;

-(IBAction)sumAmount:(id)sender;
-(IBAction)payAmount:(id)sender;

//step1
-(NSUInteger)sum:(NSUInteger)price fee:(NSUInteger)fee;

//step2
-(BOOL)pay;

@end
